package com.day12.exer1;

public class Circle {
    private double radius;//半径

    public Circle(){
        radius = 1.0;
    }

    public Circle(double radius){
        this.radius = radius;
    }

    public double getRadiue(){
        return radius;
    }
    public void setRadiue(double radius){
        this.radius =  radius;
    }

    //返回圆的面积
    public double findArea(){
        return Math.PI * radius * radius;
    }
}
